package design;

import design.forkjoin.RecuresiceAction0;

import java.util.concurrent.ForkJoinPool;

public class ForkJoinTest1 {
    public static void main(String[] args) {
        // 创建ForkJoinPool
        ForkJoinPool pool = new ForkJoinPool();
        pool.submit(new RecuresiceAction0(0,9));
        try {
            Thread.sleep(Integer.MAX_VALUE);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}
